package project.pianpian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import project.pianpian.entity.Collect;

@Mapper
@Repository
@Service
public interface CollectMapper extends BaseMapper<Collect> {
    int addCollect(Collect collect);

    Collect getCollectById(int collectorId);
}
